let urlTest = "";
let fileDownUrl = "";
if (process.env.NODE_ENV == 'development') {
  urlTest = "/ECS/sys/";
  fileDownUrl = "http://zywxbcg.linkdood.cn:11007/ECS/vrv/";
}
else {
  urlTest = "/ECS/sys/";
  fileDownUrl = "http://zywxbcg.linkdood.cn:11007/ECS/vrv/";
}

window._ajaxUrls = {
  baseUrl: `${urlTest}`,
  fileDownUrl:fileDownUrl,
  userIdGet: {
    type: "get",
    url: "user"
  },
  eventList: {
    type: "get",
    url: "event"
  },
  riskManage: {
    type: "get",
    url: "risk"
  },
  eventApproval: {
    type: "put",
    url: "eventApproval"
  },
  riskApproval: {
    type: "put",
    url: "riskApproval"
  },
  todayBulletin: {
    type: "GET",
    url: "bulletin"
  },
  baseTable: {
    type: "GET",
    url: "article"
  },
  bulletinApproval: {
    type: "put",
    url: "bulletinApproval"
  },
  organizeTable: {
    type: "get",
    url: "organize/off"
  },
  listOperators: {
    type: "get",
    url: "organize/listOperators"
  },
  eventRelease: {
    type: "post",
    url: "event/release"
  },
  riskRelease: {
    type: "post",
    url: "risk/release"
  },
  eventFeedbackTable: {
    type: "post",
    url: "reFeedback/summary"
  },
  selfTasks: {
    type: "post",
    url: "reFeedback/list"
  },
  selfTasksDetail: {
    type: "post",
    url: "reFeedback/detail"
  },
  selfTasksSubmit: {
    type: "post",
    url: "reFeedback/submit"
  },
  feedBackHistory: {
    type: "post",
    url: "transfer/list"
  },
  feedBackContinue: {
    type: "post",
    url: "transfer/add"
  },
  judged: {
    type: "get",
    url: "judged"
  },
  homeCount: {
    type: "get",
    url: "article/dataCount"
  },
  homeInformationList: {
    type: "get",
    url: "article/dynamicInformation"
  },
  addInfoList: {
    type: "get",
    url: "article"
  },
  addTemList:{
    type: "get",
    url: "template"
  },
  dailyReportDetail:{
    type: "POST",
    url: "dailyReport/detail"
  },
  dailyReportDetailSub:{
    type: "POST",
    url: "dailyReport/detailSub"
  },
  dailyReportList:{
    type: "POST",
    url: "dailyReport/list"
  },
  dailyReportSummary:{
    type: "POST",
    url: "dailyFeedback/summary"
  },
  dailyReportSubmit:{
    type: "POST",
    url: "dailyFeedback/update"
  },
  workReportList:{
    type: "POST",
    url: "article/screen"
  },
  releaseSubEvent:{
    type: "POST",
    url: "reFeedback/release"
  },
};

